package cn.tedu.sp09.feign;

import cn.tedu.sp01.pojo.Order;
import cn.tedu.web.util.JsonResult;
import org.springframework.stereotype.Component;

/**
 * @Author wy
 * @Date 2021/2/26 9:27
 * @Version 1.0
 */
@Component
public class OrderClientSB implements OrderClient{

    @Override
    public JsonResult<Order> getOrder(String orderId) {
        return JsonResult.err().msg("调用getOrder失败");
    }

    @Override
    public JsonResult<?> saveOrder() {
        return JsonResult.err().msg("调用saveOrder失败");
    }
}
